<html>
<head><meta charset="utf-8"><title>random number generation in std · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/random.20number.20generation.20in.20std.html">random number generation in std</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="226265449"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/random%20number%20generation%20in%20std/near/226265449" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Stu <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/random.20number.20generation.20in.20std.html#226265449">(Feb 13 2021 at 20:33)</a>:</h4>
<p>Is there any progress or current status for having a proper RNG in <code>std</code>? The last I heard about it was really long time ago</p>



<a name="226268622"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/random%20number%20generation%20in%20std/near/226268622" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/random.20number.20generation.20in.20std.html#226268622">(Feb 13 2021 at 21:30)</a>:</h4>
<p>I don't believe anything changed since pre-1.0 when decision was made to keep RNGs as 3rd party crates, and <code>std::rand</code> became the <code>rand</code> crate.</p>



<a name="226274598"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/random%20number%20generation%20in%20std/near/226274598" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/random.20number.20generation.20in.20std.html#226274598">(Feb 13 2021 at 23:20)</a>:</h4>
<p>I think that <code>getrandom</code> is working on the hope that they can become part of <code>std</code> some day</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>